//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef __ELASTOS_LIMITS_H__
#define __ELASTOS_LIMITS_H__

#define CHAR_BIT     8
#define SCHAR_MIN    (-128)
#define SCHAR_MAX    127
#define UCHAR_MAX    0xff

#define SHRT_BIT     16
#define SHRT_MIN     (-32768)
#define SHRT_MAX     32767
#define USHRT_MAX    0xffff

#define INT_BIT      32
#define INT_MIN      (-2147483648)
#define INT_MAX      2147483647
#define UINT_MAX     0xffffffff

#define LONG_BIT     32
#define LONG_MIN     (-2147483648)
#define LONG_MAX     2147483647
#define ULONG_MAX    0xffffffff

#endif //__ELASTOS_LIMITS_H__
